Join the Slack channel

Send your email to kyle@kyle-p-johnson.com and he'll add you to this channel. Other instructions will be sent via this route.

Install Python

Mac

https://www.python.org/downloads/ (currently is 3.5.2)

Linux

Open Terminal and check current version with python --version or python3 --version. If 3.4 or 3.5, you're fine. If Python version is out of date, run these:

$ curl -O https://raw.githubusercontent.com/kylepjohnson/python3_bootstrap/master/install.sh

$ chmod +x install.sh

$ ./install.sh

This Linux build from source will take ~5 mins.

Install Git

CLTK uses Git for corpus management. For Mac, install it from here: https://git-scm.com/downloads. For Linux, check if present (git --version); if not then use your package manager to get it (e.g., apt-get install git).

Make virtual environment

This makes a special environment (a "sandbox") just for the cltk. If something goes wrong, you can just delete it and start again.

$ cd ~/
$ mkdir cltk
$ cd cltk
$ pyvenv venv
$ source venv/bin/activate

Now you can see that you're not using your system Python but this particular one:

$ which python

Note that every time you open a new Terminal window, you'll need to "activate" this environment with source ~/cltk/venv/bin/activate.

Install CLTK

$ pip install cltk

This will take a few minutes, as it will install several "dependencies", being other Python libraries which the CLTK uses.

Also install Jupyter, which is a really handy way of writing code.

$ pip install jupyter

Test Jupter

Launch a notebook (such as this one) from the Terminal with jupyter notebook. Then open your preferred browser to http://localhost:8888.

Download these tutorials

Now or sometime later, you may find these instructions at https://github.com/kylepjohnson/notebooks/tree/master/public_talks/2016_12_08_harvard_classics.

Join GitHub

A nice way to share code. Do this later, then come visit us at https://github.com/cltk/cltk/.